package com.ruoyi.mobile.project.vo;

import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
public class CouponVo
{
    private Long id;

    private Long cid;

    private String name;

    private String desc;

    private String tag;

    private BigDecimal min;

    private BigDecimal discount;

    private LocalDateTime startTime;

    private LocalDateTime endTime;

    private boolean available;
//蔡江恩
    public void setId(long id) {
        this.id=id;
    }

    public void setCid(Long id) {
        this.cid=id;
    }
    public void setName(String name){
        this.name=name;
    }

    public void setDesc(String description) {
        this.desc=description;
    }

    public void setTag(String tag) {
        this.tag=tag;
    }

    public void setMin(BigDecimal minimum) {
        this.min=minimum;
    }

    public void setDiscount(BigDecimal discount) {
        this.discount=discount;
    }

    public  void setStartTime(LocalDateTime startTime) {
        this.startTime=startTime;
    }

    public void setEndTime(LocalDateTime endTime) {
        this.endTime=endTime;
    }


}
